home *** CD-ROM | disk | FTP | other *** search
/ PCMania 30 / PCMania CD30.iso / pcmania / graf30 / tacs / apptag.h < prev    next >
Text File  |  1987-07-22  |  2KB  |  48 lines

  1. /*  Include file for the application program to create TIFF file */
  2.  
  3. /*  Data types in bytes */
  4.  
  5. #define LBYTE    1
  6. #define LASCII    1
  7. #define LSHORT    2
  8. #define LLONG    4
  9. #define LRATNL    8
  10.  
  11.  
  12. /*  Tag list used by the application prg for full resolution data */
  13.  
  14. #define T_IMG_WIDTH    256        /* Image width */
  15. #define T_IMG_LENGTH    257        /* Image length */
  16. #define T_COMPRESS    259        /* Compression */
  17. #define T_PHOTO     262        /* Photometricinterpretation */
  18. #define T_RWPRSTRP    278        /* Rowsperstrip */
  19. #define T_XRESOL    282        /* xresolution */
  20. #define T_YRESOL    283        /* yresolution */
  21. #define T_PLANAR    284        /* Planarconfiguration */
  22. #define T_BITS_SAMPLE    258        /* Bits per Sample */
  23. #define T_SAMP_PIX    277        /* Samples per Pixel */
  24.  
  25.  
  26. /*  Default values for the above mentioned Tags */
  27.  
  28. #define IMGWIDTH_VAL    2560        /* 300 dpi, 8.5" page width */
  29. #define IMGLENGTH    3300        /* 300 dpi, 11" page length */
  30. #define NO_COMPRESS    1        /* No compression for storage */
  31. #define D1_HUFFMAN    2        /* 1D modified Huffman code */
  32. #define PHOTO_DEF    0        /* 0 = white, 1 = black.*/
  33. #define ROWSTRIP    50        /* 1 rows per strip */
  34. #define X_NUM_VAL    300        /* 300 dpi along x axis */
  35. #define X_DEN_VAL    1        /* used if x res in fraction */
  36. #define Y_NUM_VAL    300        /* 300 dpi along y axis */
  37. #define Y_DEN_VAL    1
  38. #define PLANAR_DEF    1        /* Image data stored in 1 plane */
  39. #define BITSSAMP    1        /* Image data 1 bit per pixel */
  40. #define SAMPPIXEL    1        /* IMage data 1 sample per pixel */
  41.  
  42.  
  43. #define FULRES_FILE    1        /* Subfile type is Full resolution */
  44. #define SNULL        0000
  45.  
  46. #define SINGLE_PLANE    1        /* for pubspac display */
  47. #define ONE_D_MOD    2        /* 1D modified Huffman code technique */
  48.